package com.chapter3.search;

/** 
 * @ClassName: AbstractST 
 * @Description: TODO(这里用一句话描述这个类的作用) 
 * @author minjun minjun@bw30.com
 * @date 2015-2-18 上午5:30:12 
 *  
 */
public abstract class AbstractST<K,V> implements ST<K,V>{
	
	protected int size;

	@Override
	public boolean isEmpty() {
		return size()==0;
	}

	@Override
	public Iterable<K> keys() {
		return this;
	}

	@Override
	public int size() {
		return size;
	}

}
